package cn.ecms.service.impl.customermanager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.ecms.mapper.customermanager.CustomerHistorylabelMapper;
import cn.ecms.pojo.CustomerHistorylabel;
import cn.ecms.service.customermanager.CustomerHistorylabelService;
@Service
public class CustomerHistorylabelServiceImpl implements
		CustomerHistorylabelService {

	@Autowired
	private CustomerHistorylabelMapper customerHistorylabelMapper;
	
	@Override
	public int deleteByPrimaryKey(String customerhistorylabelId) {
		return customerHistorylabelMapper.deleteByPrimaryKey(customerhistorylabelId);
	}

	@Override
	public int insert(CustomerHistorylabel record) {
		return customerHistorylabelMapper.insert(record);
	}

	@Override
	public int insertSelective(CustomerHistorylabel record) {
		return customerHistorylabelMapper.insertSelective(record);
	}

	@Override
	public CustomerHistorylabel selectByPrimaryKey(String customerhistorylabelId) {
		return customerHistorylabelMapper.selectByPrimaryKey(customerhistorylabelId);
	}

	@Override
	public int updateByPrimaryKeySelective(CustomerHistorylabel record) {
		return customerHistorylabelMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(CustomerHistorylabel record) {
		return customerHistorylabelMapper.updateByPrimaryKey(record);
	}

	
}
